package top.gytf.unifiedcall.common.detial;

import top.gytf.distools.lifecycle.Lifecycle;
import top.gytf.unifiedcall.model.Sortable;
import top.gytf.unifiedcall.model.detail.UnifiedCallPackageDetail;

import java.util.Set;

/**
 * 统一调用包描述信息的加载器
 */
public interface UnifiedCallPackageLoader extends Lifecycle, Sortable {
    /**
     * 加载所有包描述信息
     */
    Set<UnifiedCallPackageDetail> load();

    @Override
    default String getName() {
        return "ApiContractReader [" + Lifecycle.super.getName() + "]";
    }
}
